<?php
/*
 
*/


// IMAGES
if(in_array($ext, array('gif','jpeg','xcf','ico','tif','tiff','png','jpg','bmp'))) $leType = IMG;

// VIDEOS
if(in_array($ext, array('wm','asx','asf','dv','mov','wmv','mp4','rm','qt','avi','movie','3gp','mp2','mpeg','mpg'))) $leType = VID;

// DOCUMENTS
if(in_array($ext, array('pps','ppt','dot','cpt','sxd','sxc','pdf','mdb','eps','ai','ps','odh','odi','ods','odp','odm','odf','odc','doc','xls','tex','odg','odt','phps','psd','php3','php','latex','php5','php4','phtml','text','rtf','rtx','sxi','cdr','gnumeric','sxw','txt'))) $leType = DOC;

// AUDIO
if(in_array($ext, array('ogg','mp3','m3u','mid','wma','ra','sd2','midi','aiff','wav','aif'))) $leType = AUD;

// ARCHIVE
if(in_array($ext, array('gz','tgz','deb','iso','jar','taz','gtar','tar','rar','zip','rpm'))) $leType = ARC;

?>
